package socketmvc.core.processor.annotation;

import java.lang.annotation.*;

/**
 * Created by M.xue on 2018/1/14.
 * 标注参数响应json
 */
@Documented
@Target({ElementType.TYPE_USE})
@Retention(RetentionPolicy.RUNTIME)
public @interface SocketResponse {
    // returnName不为空时,发送给对端的数据包是包裹格式,例如returnName=success,那么数据包格式是{success:实际数据包}
    String returnName();

}
